
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.Collections.Generic;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(YH_Process))]
    public class YH_ProcessDto : Dto
    {
        /// <summary>
        /// 区域ID
        /// </summary>
        public Guid? AreaID { get; set; }
        /// <summary>
        /// 区域名称
        /// </summary>
        [ConcurrentKeyToValueAttribute("97", "AreaID")]
        public String AreaName { get; set; }
        public String SearchMajorCode { get { return "YH_Process"; } }
        public String SearchMajorCodeName { get { return "工艺介质"; } }
        public List<Guid> AreaIds { get; set; }
        /// <summary>
        /// 要素特性
        /// </summary>
        public String Factor { get; set; }
        /// <summary>
        /// 引导词
        /// </summary>
        public String Introducer { get; set; }
        /// <summary>
        /// 偏差
        /// </summary>
        public String Deviation { get; set; }
        /// <summary>
        /// 隐患等级ID
        /// </summary>
        public Guid? RiskLevel { get; set; }
        [ConcurrentKeyToValue("03", "RiskLevel")]
        public string RiskLevelText { get; set; }
        /// <summary>
        /// 检查标准
        /// </summary>
        public String CheckStandard { get; set; }
        /// <summary>
        /// 违反标准的风险
        /// </summary>
        public String RiskOfViolation { get; set; }
        /// <summary>
        /// 隶属工厂
        /// </summary>
        public Guid? CreateFactory { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? UpdateDept { get; set; }

    }
}
